//
//  WZHCommon.h
//  BaseNavigationViewController
//
//  Created by Going on 2017/11/2.
//  Copyright © 2017年 WZH. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

@interface WZHCommon : NSObject
/*
 *屏幕长宽
 */
#define WZH_WIDTH ([UIScreen mainScreen].bounds.size.width)
#define WZH_HEIGHT ([UIScreen mainScreen].bounds.size.height)
/*
 *图片路径
 */
#define WZHSrcName(file) [@"WZHNavigationController.bundle" stringByAppendingPathComponent:file]

#define WZHImage(file)  [UIImage imageNamed:WZHSrcName(file)]
/*
 *是否为iPhoneX
 */
#define WISiPhoneX  ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO)
/*
 *返回键样式
 */
typedef NS_ENUM(NSUInteger, WZHNavigationBarBackStyle) {
    WZHNavigationBarBackStyleBlack = 0, // 黑色返回按钮
    WZHNavigationBarBackStyleWhite,     // 白色返回按钮
    WZHNavigationBarBackStyleCustom,     //自定义返回按钮,无返回按钮，
};
@end
